.class public Lnet/tsapps/topdeals/PreferencesActivity;
.super Lnet/tsapps/topdeals/abstractactivities/BaseActivity;


# instance fields
.field private A:Lnet/tsapps/topdeals/e/d;

.field private B:Lnet/tsapps/topdeals/e/b;

.field private C:Landroid/widget/LinearLayout;

.field private i:Lnet/tsapps/topdeals/objects/ConfigResponse;

.field private j:Z

.field private k:Z

.field private l:Landroid/widget/LinearLayout;

.field private m:Landroid/widget/LinearLayout;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/widget/LinearLayout;

.field private p:Landroid/widget/LinearLayout;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/LinearLayout;

.field private s:Landroid/widget/LinearLayout;

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/LinearLayout;

.field private v:Landroid/widget/LinearLayout;

.field private w:Landroid/widget/TextView;

.field private x:Landroid/widget/TextView;

.field private y:Landroid/widget/TextView;

.field private z:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lnet/tsapps/topdeals/abstractactivities/BaseActivity;-><init>()V

    iput-boolean v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->j:Z

    iput-boolean v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->k:Z

    return-void
.end method

.method static synthetic a(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/h/a;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    return-object v0
.end method

.method static synthetic a(Lnet/tsapps/topdeals/PreferencesActivity;Lnet/tsapps/topdeals/objects/ConfigResponse;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    return-void
.end method

.method static synthetic a(Lnet/tsapps/topdeals/PreferencesActivity;Z)V
    .locals 7

    const/4 v1, 0x0

    if-eqz p1, :cond_0

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->i()Lnet/tsapps/topdeals/e/d;

    move-result-object v0

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->g()Lnet/tsapps/topdeals/e/b;

    move-result-object v0

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    :cond_0
    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->l()Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    const-wide/16 v4, 0x0

    cmp-long v2, v2, v4

    if-nez v2, :cond_2

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->w:Landroid/widget/TextView;

    const-string v2, "Notifications deaktiviert"

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const-string v2, "Aktive Filter: {0}/{1}"

    const-string v0, "0"

    iget-object v3, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v3}, Lnet/tsapps/topdeals/h/a;->k()Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_1

    const-string v0, ","

    invoke-virtual {v3, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    :cond_1
    const/16 v3, 0xd

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lnet/tsapps/topdeals/PreferencesActivity;->x:Landroid/widget/TextView;

    const-string v5, "{0}"

    invoke-virtual {v2, v5, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "{1}"

    invoke-virtual {v0, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->h()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->y:Landroid/widget/TextView;

    const-string v1, "Deaktiviert"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->j()Z

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->z:Landroid/widget/TextView;

    const-string v1, "Deaktiviert"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    return-void

    :cond_2
    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "interval_"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v3, "string"

    iget-object v4, p0, Lnet/tsapps/topdeals/PreferencesActivity;->a:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v0, v3, v4}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    const-string v2, "Aktuelle Einstellung: {0}"

    iget-object v3, p0, Lnet/tsapps/topdeals/PreferencesActivity;->w:Landroid/widget/TextView;

    const-string v4, "{0}"

    iget-object v5, p0, Lnet/tsapps/topdeals/PreferencesActivity;->a:Landroid/content/Context;

    invoke-virtual {v5, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v4, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/e/b;->c()Ljava/util/ArrayList;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->y:Landroid/widget/TextView;

    const-string v1, "Noch keine Stadt ausgew\u00e4hlt"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_4
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/e/b;->c()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v5

    move v2, v1

    :goto_3
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_5

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v3, 0x1

    if-ne v0, v3, :cond_6

    const-string v0, "Ausgew\u00e4hlt: {0} Stadt, {1}/{2} Anbieter"

    :goto_4
    const-string v3, "{0}"

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v3, "{1}"

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v2, "{2}"

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->y:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_5
    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Long;

    iget-object v6, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v6, v6, Lnet/tsapps/topdeals/objects/ConfigResponse;->b:Ljava/util/List;

    invoke-static {v0, v6}, Lnet/tsapps/topdeals/f/b;->a(Ljava/lang/Long;Ljava/util/List;)Lnet/tsapps/topdeals/objects/Location;

    move-result-object v0

    iget-object v6, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    invoke-virtual {v6, v0}, Lnet/tsapps/topdeals/e/b;->a(Lnet/tsapps/topdeals/objects/Location;)I

    move-result v6

    add-int/2addr v2, v6

    iget-object v0, v0, Lnet/tsapps/topdeals/objects/Location;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/2addr v0, v1

    move v1, v0

    goto :goto_3

    :cond_6
    const-string v0, "Ausgew\u00e4hlt: {0} St\u00e4dte, {1}/{2} Anbieter"

    goto :goto_4

    :cond_7
    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v1, v1, Lnet/tsapps/topdeals/objects/ConfigResponse;->a:Ljava/util/List;

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/e/d;->a(Ljava/util/List;)I

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->z:Landroid/widget/TextView;

    const-string v1, "Kein Anbieter ausgew\u00e4hlt"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_2

    :cond_8
    const-string v1, "Ausgew\u00e4hlt: {0}/{1} Anbieter"

    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->z:Landroid/widget/TextView;

    const-string v3, "{0}"

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v3, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "{1}"

    iget-object v3, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v3, v3, Lnet/tsapps/topdeals/objects/ConfigResponse;->a:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v1, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_2
.end method

.method static synthetic b(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/e/b;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    return-object v0
.end method

.method static synthetic c(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/objects/ConfigResponse;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    return-object v0
.end method

.method static synthetic d(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/e/d;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    return-object v0
.end method

.method private e()V
    .locals 7

    const v6, 0x7f020037

    const/4 v5, 0x0

    const v4, 0x7f020036

    const/4 v3, 0x1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v2}, Lnet/tsapps/topdeals/h/a;->j()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    iget-boolean v0, v0, Lnet/tsapps/topdeals/e/d;->a:Z

    if-eqz v0, :cond_0

    invoke-virtual {v1, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_1
    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setClickable(Z)V

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method

.method static synthetic e(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    invoke-virtual {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->b()V

    return-void
.end method

.method private f()V
    .locals 7

    const v6, 0x7f020037

    const/4 v5, 0x0

    const v4, 0x7f020036

    const/4 v3, 0x1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->o:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v2}, Lnet/tsapps/topdeals/h/a;->h()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    iget-boolean v0, v0, Lnet/tsapps/topdeals/e/b;->a:Z

    if-eqz v0, :cond_0

    invoke-virtual {v1, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_1
    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setClickable(Z)V

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method

.method static synthetic f(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->g()V

    return-void
.end method

.method static synthetic g(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->s:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private g()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lnet/tsapps/topdeals/DealListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "refresh"

    iget-boolean v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->j:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v1, "refreshviewpager"

    iget-boolean v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->k:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->finish()V

    return-void
.end method

.method static synthetic h(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->t:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic i(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->a:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic j(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->j:Z

    return-void
.end method

.method static synthetic k(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->k:Z

    return-void
.end method

.method static synthetic l(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->f()V

    return-void
.end method

.method static synthetic m(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic n(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->e()V

    return-void
.end method

.method static synthetic o(Lnet/tsapps/topdeals/PreferencesActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    return-object v0
.end method


# virtual methods
.method protected final a()V
    .locals 4

    new-instance v0, Lnet/tsapps/topdeals/aj;

    invoke-direct {v0, p0}, Lnet/tsapps/topdeals/aj;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    const-string v1, "Konfiguration wird geladen..."

    invoke-virtual {p0, v1}, Lnet/tsapps/topdeals/PreferencesActivity;->b(Ljava/lang/String;)V

    new-instance v1, Ljava/lang/Thread;

    const/4 v2, 0x0

    const-string v3, "MagentoBackground"

    invoke-direct {v1, v2, v0, v3}, Ljava/lang/Thread;-><init>(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/4 v5, 0x1

    invoke-super {p0, p1}, Lnet/tsapps/topdeals/abstractactivities/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03001a

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->setContentView(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->i()Lnet/tsapps/topdeals/e/d;

    move-result-object v0

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->g()Lnet/tsapps/topdeals/e/b;

    move-result-object v0

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    if-eqz p1, :cond_0

    const-string v0, "configData"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Lnet/tsapps/topdeals/objects/ConfigResponse;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    :goto_0
    const v0, 0x7f05003c

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->s:Landroid/widget/LinearLayout;

    const v0, 0x7f05003d

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->t:Landroid/widget/LinearLayout;

    const v0, 0x7f05003f

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->l:Landroid/widget/LinearLayout;

    const v0, 0x7f050048

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->m:Landroid/widget/LinearLayout;

    const v0, 0x7f050042

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->n:Landroid/widget/LinearLayout;

    const v0, 0x7f050041

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->o:Landroid/widget/LinearLayout;

    const v0, 0x7f050047

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->p:Landroid/widget/LinearLayout;

    const v0, 0x7f050045

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    const v0, 0x7f05004b

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    const v0, 0x7f05004d

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->u:Landroid/widget/LinearLayout;

    const v0, 0x7f05004e

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->C:Landroid/widget/LinearLayout;

    const v0, 0x7f05004f

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->v:Landroid/widget/LinearLayout;

    const v0, 0x7f05003e

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->w:Landroid/widget/TextView;

    const v0, 0x7f050040

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->x:Landroid/widget/TextView;

    const v0, 0x7f050044

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->y:Landroid/widget/TextView;

    const v0, 0x7f05004a

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->z:Landroid/widget/TextView;

    const v0, 0x7f05002b

    invoke-virtual {p0, v0}, Lnet/tsapps/topdeals/PreferencesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lnet/tsapps/topdeals/ak;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ak;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->s:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/al;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/al;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->t:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ah;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ah;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->l:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ai;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ai;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->o:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/af;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/af;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->n:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ag;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ag;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->r:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/az;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/az;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->p:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ba;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ba;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->q:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/bb;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/bb;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->m:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/aw;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/aw;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->u:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/av;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/av;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->C:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ay;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ay;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->v:Landroid/widget/LinearLayout;

    new-instance v1, Lnet/tsapps/topdeals/ax;

    invoke-direct {v1, p0}, Lnet/tsapps/topdeals/ax;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->l()Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    const-wide/16 v3, 0x0

    cmp-long v1, v1, v3

    if-nez v1, :cond_1

    const v1, 0x7f020036

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->t:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setClickable(Z)V

    :goto_1
    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->f()V

    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->e()V

    return-void

    :cond_0
    invoke-virtual {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->a()V

    goto/16 :goto_0

    :cond_1
    const v1, 0x7f020037

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setClickable(Z)V

    goto :goto_1
.end method

.method protected onCreateDialog(I)Landroid/app/Dialog;
    .locals 6

    const/4 v0, 0x0

    packed-switch p1, :pswitch_data_0

    :goto_0
    return-object v0

    :pswitch_0
    new-instance v0, Lnet/tsapps/topdeals/b/j;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->l()Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    new-instance v3, Lnet/tsapps/topdeals/br;

    invoke-direct {v3, p0}, Lnet/tsapps/topdeals/br;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lnet/tsapps/topdeals/b/j;-><init>(Landroid/content/Context;JLandroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->k()Ljava/lang/String;

    move-result-object v1

    new-instance v0, Lnet/tsapps/topdeals/b/e;

    new-instance v2, Lnet/tsapps/topdeals/bc;

    invoke-direct {v2, p0}, Lnet/tsapps/topdeals/bc;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-direct {v0, p0, v1, v2}, Lnet/tsapps/topdeals/b/e;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    :pswitch_2
    new-instance v0, Lnet/tsapps/topdeals/b/d;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->A:Lnet/tsapps/topdeals/e/d;

    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v2, v2, Lnet/tsapps/topdeals/objects/ConfigResponse;->a:Ljava/util/List;

    new-instance v3, Lnet/tsapps/topdeals/be;

    invoke-direct {v3, p0}, Lnet/tsapps/topdeals/be;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lnet/tsapps/topdeals/b/d;-><init>(Landroid/content/Context;Lnet/tsapps/topdeals/e/d;Ljava/util/List;Landroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    :pswitch_3
    new-instance v0, Lnet/tsapps/topdeals/b/g;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v2, v1, Lnet/tsapps/topdeals/objects/ConfigResponse;->b:Ljava/util/List;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v3, v1, Lnet/tsapps/topdeals/objects/ConfigResponse;->c:Ljava/util/List;

    iget-object v4, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    new-instance v5, Lnet/tsapps/topdeals/bp;

    invoke-direct {v5, p0}, Lnet/tsapps/topdeals/bp;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lnet/tsapps/topdeals/b/g;-><init>(Landroid/content/Context;Ljava/util/List;Ljava/util/List;Lnet/tsapps/topdeals/e/b;Landroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    :pswitch_4
    new-instance v0, Lnet/tsapps/topdeals/b/k;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    iget-object v1, v1, Lnet/tsapps/topdeals/objects/ConfigResponse;->b:Ljava/util/List;

    iget-object v2, p0, Lnet/tsapps/topdeals/PreferencesActivity;->B:Lnet/tsapps/topdeals/e/b;

    new-instance v3, Lnet/tsapps/topdeals/bo;

    invoke-direct {v3, p0}, Lnet/tsapps/topdeals/bo;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lnet/tsapps/topdeals/b/k;-><init>(Landroid/content/Context;Ljava/util/List;Lnet/tsapps/topdeals/e/b;Landroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    :pswitch_5
    new-instance v1, Landroid/app/Dialog;

    invoke-direct {v1, p0}, Landroid/app/Dialog;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x1

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->requestWindowFeature(I)Z

    const v0, 0x7f030003

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->setContentView(I)V

    const v0, 0x7f05001e

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    new-instance v2, Lnet/tsapps/topdeals/at;

    invoke-direct {v2, p0}, Lnet/tsapps/topdeals/at;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f05001b

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    new-instance v2, Lnet/tsapps/topdeals/as;

    invoke-direct {v2, p0}, Lnet/tsapps/topdeals/as;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f05001c

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    new-instance v2, Lnet/tsapps/topdeals/au;

    invoke-direct {v2, p0}, Lnet/tsapps/topdeals/au;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f05001d

    invoke-virtual {v1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    new-instance v2, Lnet/tsapps/topdeals/bq;

    invoke-direct {v2, p0}, Lnet/tsapps/topdeals/bq;-><init>(Lnet/tsapps/topdeals/PreferencesActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object v0, v1

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0}, Lnet/tsapps/topdeals/PreferencesActivity;->g()V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Lnet/tsapps/topdeals/abstractactivities/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method protected onPrepareDialog(ILandroid/app/Dialog;)V
    .locals 3

    packed-switch p1, :pswitch_data_0

    :goto_0
    invoke-super {p0, p1, p2}, Lnet/tsapps/topdeals/abstractactivities/BaseActivity;->onPrepareDialog(ILandroid/app/Dialog;)V

    return-void

    :pswitch_0
    move-object v0, p2

    check-cast v0, Lnet/tsapps/topdeals/b/j;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->l()Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lnet/tsapps/topdeals/b/j;->a(J)V

    goto :goto_0

    :pswitch_1
    move-object v0, p2

    check-cast v0, Lnet/tsapps/topdeals/b/e;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->k()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/b/e;->a(Ljava/lang/String;)V

    goto :goto_0

    :pswitch_2
    move-object v0, p2

    check-cast v0, Lnet/tsapps/topdeals/b/g;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->g()Lnet/tsapps/topdeals/e/b;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/b/g;->a(Lnet/tsapps/topdeals/e/b;)V

    goto :goto_0

    :pswitch_3
    move-object v0, p2

    check-cast v0, Lnet/tsapps/topdeals/b/d;

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->b:Lnet/tsapps/topdeals/h/a;

    invoke-virtual {v1}, Lnet/tsapps/topdeals/h/a;->i()Lnet/tsapps/topdeals/e/d;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnet/tsapps/topdeals/b/d;->a(Lnet/tsapps/topdeals/e/d;)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_3
        :pswitch_2
    .end packed-switch
.end method

.method protected onSaveInstanceState(Landroid/os/Bundle;)V
    .locals 2

    const-string v0, "configData"

    iget-object v1, p0, Lnet/tsapps/topdeals/PreferencesActivity;->i:Lnet/tsapps/topdeals/objects/ConfigResponse;

    invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    invoke-super {p0, p1}, Lnet/tsapps/topdeals/abstractactivities/BaseActivity;->onSaveInstanceState(Landroid/os/Bundle;)V

    return-void
.end method
